package com.blb.pojo;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@TableName("course_section")
public class CourseSection  implements Serializable {

  @TableId(type = IdType.AUTO)
  private Long id;
  private Long courseId;
  private String sectionName;
  private String description;
  private LocalDateTime createTime;
  private LocalDateTime updateTime;
  private Long isDel;
  private Long orderNum;
  private Long status;

  /**
   * 课程小节
   */
  @TableField(exist = false)
  private List<CourseLesson> courseLessons;


}
